package com.android.travellover;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Setting extends Activity
{
	
	Button btnHome;
	Button btnAbout;
	Button btnSetting;
	
	 public void onCreate(Bundle savedInstanceState) {
	        super.onCreate(savedInstanceState);
	        setContentView(R.layout.setting);
	        
	        
	        btnHome = (Button)findViewById(R.id.btnHome);
	        btnAbout = (Button)findViewById(R.id.btnAbout);
	        btnSetting = (Button)findViewById(R.id.btnSetting);
	        
	        
	        btnHome.setOnClickListener(new OnClickListener() {
				
				public void onClick(View v) {
					// TODO Auto-generated method stub
					Intent intent = new Intent(getApplicationContext(), TravelLoverActivity.class);
					startActivity(intent);
					
				}
			});
	        btnAbout.setOnClickListener(new OnClickListener() {
				
				public void onClick(View v) {
					// TODO Auto-generated method stub
					Intent intent = new Intent(getApplicationContext(), About.class);
					startActivity(intent);
					
				}
			});
	        btnSetting.setOnClickListener(new OnClickListener() {
		
		public void onClick(View v) {
			// TODO Auto-generated method stub
			Intent intent = new Intent(getApplicationContext(), Setting.class);
			startActivity(intent);
			
				}
	        });
	 }
}
